﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace WcfFlashRemoting.Example7.Implementation
{
    [ServiceBehavior(Namespace = "urn:WcfFlashRemoting:Examples:Example7")]
    class RegistrationService : Contract.IRegistrationContract
    {
        #region IRegistrationContract Members

        public string AddPerson(Contract.Person person)
        {
            return "Got " + person.GetType().Name + ": " + person.ToString();
        }

        #endregion
    }
}
